<?php 

$thumb = @$_GET["thumb"];

$thumbWidth		= @$thumb["width"];
$thumbHeight	= @$thumb["height"];

header("Content-Type: application/css; charset=UTF-8");
header("Content-Disposition: inline; filename=imagepicker.css");
?>

.imagepicker-dialog ul {
	list-style-type: none;
	float:left;
	clear:both;
	margin:0;
	padding:0;
}
.imagepicker-dialog ul li {
	margin:0;
	padding:2px;
	float:left;
	width:<?php echo $thumbWidth; ?>px;
	height:<?php echo $thumbHeight; ?>px;
	overflow:hidden;
	text-align:center;
	font-size:10px;
}
.imagepicker-dialog ul li.selected,
.imagepicker-dialog ul li:hover {
	background-color:#7FDEFF;
}
.imagepicker-dialog ul li img {
	height:<?php echo $thumbHeight; ?>px;
}